<%@ include file="/WEB-INF/pages/include/header.jspfrag" %>
<%@ include file="/WEB-INF/pages/include/menu.jsp" %>
<h4>These are your posts:</h4>
<table border="0">
	<tr>
		<th>Link</th>
		<th>Like Count</th>
		<th>Share Count</th>
		<th>Platform</th>
	</tr>
	<c:forEach var="post" items="${posts}">
        <tr>
        	<td><a href="<c:url value="${post.link}"/>"><c:out value="${post.link}"/></a></td>
            <td><c:out value="${post.likes}" /></td>
            <td><c:out value="${post.shares}" /></td>
            <td><c:out value="${post.via}" /></td>
        </tr>
    </c:forEach>
</table>

<%@ include file="/WEB-INF/pages/include/footer.jspfrag" %>